3af1963670f9114f30ce2a405eb96a3497b3a871,test/org/apache/coyote/http2/TestHttp2Section_5_3.java,TestHttp2Section_5_3,testWeighting,#,56
Before Change
}
// Debugging Gump failure
log.info(output.getTrace());
String trace = output.getTrace();
Assert.assertTrue(trace, trace.contains("19-Body-1"));
After Change
// frame written in the last iteration of the loop will be read. The
// loop will then exit since frames from both streams will have been
// observed.
boolean seen19 = false;
boolean seen21 = false;
while (!seen19 || !seen21) {
sendWindowUpdate(0, 1);
parser.readFrame(true);
if (output.getTrace().contains("19-Body-1")) {
seen19 = true;
} else if (output.getTrace().contains("21-Body-1")) {
seen21 = true;
} else {
// Unexpected trace